<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>只因你太美</title>

    <style>
        *{
            padding: 0;
            margin: 0;
        }

        html{
            perspective: 800px;
        }

        .kun{

            
            width: 200px;
            height: 200px;
            margin: 200px auto;
            
            transform-style: preserve-3d;
            animation: ikun 15s infinite linear;
        }

        .kun > div{
            position: absolute;
            width: 200px;
            height: 200px;
            /* 设置透明效果 */
            opacity: 0.7;
        }

        img{
            vertical-align: top;
            width: 200px;
            height: 200px;
        }

        .box1{
            transform: rotateY(90deg) translateZ(100px); 
            
        }

        .box2{
            transform: rotateY(-90deg) translateZ(100px);
            
        }

        .box3{
            transform: rotateX(90deg) translateZ(100px); 
            
        }

        .box4{
            transform: rotateX(-90deg) translateZ(100px);
            
        }

        .box5{
            transform: rotateY(180deg) translateZ(100px); 
            
        }

        .box6{
            transform: rotateY(0) translateZ(100px);
            
        }
        
        @keyframes ikun{
            from{
                transform: rotateX(0) rotateZ(0);
            }

            to{
                transform: rotateX(1turn) rotateZ(1turn);
            }
        }
    </style>
</head>
<body>
    <div class="kun">
        <div class="box1"><img src="./练习的截图/14/1.jpg" alt=""></div>
        <div class="box2"><img src="./练习的截图/14/2.jpg" alt=""></div>
        <div class="box3"><img src="./练习的截图/14/3.jpg" alt=""></div>
        <div class="box4"><img src="./练习的截图/14/4.jpg" alt=""></div>
        <div class="box5"><img src="./练习的截图/14/5.jpg" alt=""></div>
        <div class="box6"><img src="./练习的截图/14/6.jpg" alt=""></div>
    </div>
</body>
</html>